<?php
header("Content-Type:text/html;charset=utf-8");
session_start();
   if (isset($_SESSION['userinfo']))
   {
       $login=true;
       $userinfo=$_SESSION['userinfo'];
   }
    else {
    echo "<script language='javascript'>";
    echo "alert('您还没登录，请先登录！');";
    echo "window.location.href='login.php';";
    echo "</script>";
    die;
   }
   
   
require 'ljsjk.php';
   $sql="select * from tb_note order by id desc";
   $result=$db->query($sql);
   $sum=$result->num_rows;  
   $wishlist=$result->fetch_all(MYSQLI_BOTH);  
   include "list_html.php";

   $result->free();
   $db->close();
